<script setup>
import { ref } from "vue";
const emit = defineEmits();
const props = defineProps({
  modelValue: {
    type: String,
    default: "",
  },
});

const handleinput = (e) => {
  emit("update:modelValue", e.target.value);
};
</script>

<template>
  <input type="text" :value="props.modelValue" @input="handleinput" />
</template>

<style scoped></style>
